Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Problems with ODBC Select statement in Notes
~Jennifer Ekponemarakoi 12.Jan.04 05:20 PM a Web browser
Notes Client 6.0.3 Windows 2000


Try placing the select into a string first like:

qryString = "SELECT * FROM ORACLE_TABLE WHERE TRUNC(MY_DATE) > TO_DATE('" + sDATE.DateOnly + "','MM/DD/YYYY') - 1 AND TRUNC(MY_DATE) < TO_DATE('" + eDATE.DateOnly + "','MM/DD/YYYY') + 1"

OraQuery.SQL = qryString

+++++++++

That method usually works for me. Remember to make sure your quotes are escaped. Hard to tell here if they are, but they may cause you problems as well.




Problems with ODBC Select statement... (~Yoshi Quetkist... 12.Jan.04)
. . RE: Problems with ODBC Select state... (~Yoshi Quetkist... 12.Jan.04)
. . RE: Problems with ODBC Select state... (~Jennifer Ekpon... 12.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS